package com.javachamp.autoboxing;

public class LongCastNumber {

	public static void main(String[] args) {
		Integer[][] arr1 = { { 1, 2 }, { 3, 4 } };
		Number[] arr2 = arr1[0];
		int x = 1;

		System.out.print(arr1[0][0] == 1);
//		System.out.print(arr2[0] == x);
//		System.out.print(x instanceof Integer);
		System.out.print(arr2[0] instanceof Integer);
		System.out.print(arr1[0][0] instanceof Number);
//		System.out.print(arr1[0][0] instanceof Float);
		System.out.print(arr1[1][0] > (Integer) arr2[0]);
		
		
		
	}
	
	public void a() {
		Number x = 12; // Line 5
		Number y = (Long) x; // Line 6
		System.out.print(x+""+y); // Line 7
	}
}

                                                    